package com.renwei.yunlong.bean;

import java.util.List;

/**
 * Created by wangqi on 2017/10/13.
 */

public class PersonChooseBean {

    /**
     * message : {"code":200,"message":"操作成功！"}
     * rows : [{"roleId":1,"roleName":"普通人员","roleNo":0},{"roleId":4,"roleName":"备件管理员","roleNo":0},{"roleId":5,"roleName":"客户经理","roleNo":0},{"roleId":10,"roleName":"服务台","roleNo":0},{"roleId":11,"roleName":"工程师","roleNo":0},{"roleId":12,"roleName":"管理员","roleNo":0}]
     * total : 0
     */

    private MessageBean message;
    private int total;
    private List<RowsBean> rows;

    public MessageBean getMessage() {
        return message;
    }

    public void setMessage(MessageBean message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class MessageBean {
        /**
         * code : 200
         * message : 操作成功！
         */

        private int code;
        private String message;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }

    public static class RowsBean {
        /**
         * roleId : 1
         * roleName : 普通人员
         * roleNo : 0
         */

        private int roleId;
        private String roleName;
        private int roleNo;

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public int getRoleNo() {
            return roleNo;
        }

        public void setRoleNo(int roleNo) {
            this.roleNo = roleNo;
        }
    }
}
